package com.cap.bts.crmdp.dealer.purchase.dto;

import java.util.Date;

import com.cap.bts.framework.common.util.Utils;

public class PackageExpireDto {
	private Long packageInfoId;
	private Date purchaseDate;
	private Date expireDate;
	private String status;
	private Long dealerId;
	private Long activeDealerId;
	private String name;
	private String memberName;
	private String mobilePhone;
	private String packageNumber;
	private String carPlate;
	public Long getPackageInfoId() {
		return packageInfoId;
	}
	public void setPackageInfoId(Long packageInfoId) {
		this.packageInfoId = packageInfoId;
	}
	public Date getPurchaseDate() {
		return purchaseDate;
	}
	public void setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
	}
	public Date getExpireDate() {
		return expireDate;
	}
	public void setExpireDate(Date expireDate) {
		this.expireDate = expireDate;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Long getDealerId() {
		return dealerId;
	}
	public void setDealerId(Long dealerId) {
		this.dealerId = dealerId;
	}
	
	public Long getActiveDealerId() {
		return activeDealerId;
	}
	public void setActiveDealerId(Long activeDealerId) {
		this.activeDealerId = activeDealerId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMemberName() {
		return memberName;
	}
	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}
	public String getMobilePhone() {
		return mobilePhone;
	}
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	
	public String getPackageNumber() {
		return packageNumber;
	}
	public void setPackageNumber(String packageNumber) {
		this.packageNumber = packageNumber;
	}
	public String getCarPlate() {
		return carPlate;
	}
	public void setCarPlate(String carPlate) {
		this.carPlate = carPlate;
	}
	public PackageExpireDto(Object[] list) {
		super();
		if(list != null && list.length > 0){
			this.packageInfoId = Long.valueOf(Utils.getString(list[0]));
			this.purchaseDate = Utils.getDate(list[1]);
			this.expireDate = Utils.getDate(list[2]);
			this.status = Utils.getString(list[3]);
			this.dealerId = Long.valueOf(Utils.getString(list[4]));
			this.activeDealerId = Long.valueOf(Utils.getString(list[5]));
			this.name = Utils.getString(list[6]);
			this.memberName = Utils.getString(list[7]);
			this.mobilePhone = Utils.getString(list[8]);
			this.packageNumber = Utils.getString(list[9]);
			this.carPlate = Utils.getString(list[10]);
		}
	}
	
	
}
